package com.wancaijinfu.parse;

import org.json.JSONException;
import org.json.JSONObject;

import com.wancaijinfu.javabean.RealName;

public class RealNameParse  extends PostParse{

	@Override
	public Object parseSuccess(JSONObject object) throws JSONException {
		JSONObject newObj = object.getJSONObject("item");
		RealName item = new RealName();
		item.id_card = newObj.getString("id_card_no");
//		item.card1 = newObj.getString("card_pic1");
//		item.card2 = newObj.getString("card_pic2");
		item.realname = newObj.getString("real_name");
		item.status = newObj.getInt("status");
		return item;
	}

}
